from typing import Optional

from fastapi import FastAPI
from pydantic import BaseModel


class MemoryItem(BaseModel):
    user: Optional[str] = None
